home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / misc / motorola / install.bat < prev    next >
DOS Batch File  |  1992-03-04  |  4KB  |  99 lines

  1. echo off
  2. cls
  3. if not %2x==x goto START
  4. goto BEGIN
  5. :BEGIN
  6. echo.
  7. echo.
  8. echo.
  9. echo      ╔═╡ Installing the Motorola Data Disk ╞═══════════════════════════╗
  10. echo      ║                                                                 ║
  11. echo      ║ To install the Data Disk to drive C, in a subdirectory called   ║
  12. echo      ║ MOTO, type "INSTALL C MOTO" at the prompt, then press Enter.    ║
  13. echo      ║                                                                 ║
  14. echo      ║ To install the Data Disk to drive D, in a subdirectory called   ║
  15. echo      ║ STATS, type "INSTALL D STATS", then press the Enter key.        ║
  16. echo      ║                                                                 ║
  17. echo      ║ To install the Data Disk to another drive and/or subdirectory,  ║
  18. echo      ║ use the syntax: "INSTALL drivename subdirectory".               ║
  19. echo      ║                                                                 ║
  20. echo      ║ Please type your command line at the prompt now . . .           ║
  21. echo      ║                                                                 ║
  22. echo      ╚═════════════════════════════════════════════════════════════════╝
  23. fill 3,5,67,14,7,0
  24. fill 3,8,35,1,3,0
  25. echo.
  26. echo.
  27. goto FINISH
  28. :START
  29. echo.
  30. echo.
  31. echo.
  32. echo       The Motorola Data Disk will be installed to %1:\%2
  33. fill 3,50,15,1,0,F
  34. echo.
  35. echo.
  36. echo      ╔═╡ Select an Option ╞═══════════════════════════════════╗
  37. echo      ║                                                        ║
  38. echo      ║  A. Install the Data Disk to the path specified above. ║
  39. echo      ║                                                        ║
  40. echo      ║  B. Oops!  Let me change the path specified above.     ║
  41. echo      ║                                                        ║
  42. echo      ╚════════════════════════════════════════════════════════╝
  43. fill 6,5,58,7,7,0
  44. fill 6,8,18,1,3,0
  45. echo.
  46. echo                    Please select A or B now.
  47. fill 14,33,1,1,0,F
  48. fill 14,38,1,1,0,F 
  49. echo.
  50. keypress AB
  51. if errorlevel 2 goto OOPS
  52. if errorlevel 1 goto DOIT
  53. echo      Sorry, that was an invalid selection, please try again.
  54. wait 2
  55. cls
  56. goto START
  57. echo
  58. :OOPS
  59. fill 10,7,54,1,0,7
  60. echo       You chose to re-enter the drive and subdirectory name . . .
  61. wait 3
  62. cls
  63. goto BEGIN
  64. :DOIT
  65. fill 8,7,54,1,0,7
  66. echo          You chose to install the software to %1:\%2 . . .
  67. wait 3
  68. cls
  69. echo.
  70. echo.
  71. echo      INSTALL will now create the specified subdirectory, then copy
  72. echo      and uncompress the information it needs to your hard drive . . .
  73. echo.
  74. echo.
  75. motorola %1:\%2
  76. echo.
  77. echo      The installation is now complete . . .
  78. wait 2
  79. cls
  80. echo.
  81. echo.
  82. echo    ┌────────────────────────────────────────────────────────────────┐
  83. echo    │                                                                │
  84. echo    │ To start the program, make sure you are logged onto the sub-   │
  85. echo    │ directory you created, type "M" at the prompt, then press      │
  86. echo    │ Enter (─┘).                                                   │
  87. echo    │                                                                │
  88. echo    │ If you have any difficulty with this installation or with any  │
  89. echo    │ other aspect of this product, call CyberSoft at (602)491-0022. │
  90. echo    │                                                                │
  91. echo    └────────────────────────────────────────────────────────────────┘
  92. fill 2,3,66,10,3,0
  93. %1:
  94. cd\%2
  95. echo.
  96. echo.
  97. goto FINISH
  98. :FINISH
  99.